package com.wwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wwz.pojo.House;
import com.wwz.pojo.query.HouseQuery;

/**
 * 房产信息接口
 * @date 2022/03/24 26:02:48
 */
public interface IHouseService extends IService<House> {

    /**
     * 分页查询
     * @param query
     * @return
     */
    IPage<House> toPage(HouseQuery query);

    /**
     * 添加或修改房产信息
     * @param house
     */
    void addOrUpdate(House house);
}
